# Find the ParameterSerializer includes and library
#
# ParameterSerializer_INCLUDE_DIRS - list of directories with headers.
# ParameterSerializer_LIBRARIES - list of libraries to link against.
# ParameterSerializer_FOUND - set to 1 if found.

set( ParameterSerializer_FOUND 1 )

get_filename_component( ParameterSerializer_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH )

set( ParameterSerializer_INCLUDE_DIRS "@ParameterSerializer_INCLUDE_DIRS@" )

set(ITK_DIR "@ITK_DIR@")
include(CMakeFindDependencyMacro)
find_dependency(ITK REQUIRED)

# We need to let CMake know the location of the json library.
set( used_jsoncpp_config "@JsonCpp_DIR@/JsonCppConfig.cmake" )
if( NOT DEFINED JsonCpp_LIBRARIES AND EXISTS "${used_jsoncpp_config}" )
  include( "${used_jsoncpp_config}" )
endif()
if( NOT ParameterSerializer_TARGETS_IMPORTED AND NOT ParameterSerializer_BINARY_DIR )
  set( ParameterSerializer_TARGETS_IMPORTED 1 )
  include( "${ParameterSerializer_CMAKE_DIR}/ParameterSerializerTargets.cmake" )
endif()
set( ParameterSerializer_LIBRARIES "@ParameterSerializer_LIBRARIES@" )
